<?php
	// get event[] from DBIO
	require('../php/Objects/TempEvent.php');
	$event[0] = new TempEvent(0, 'Event Zero');
	$event[1] = new TempEvent(1, 'Summer Picnic');
	$event[2] = new TempEvent(2, 'Doe Wedding');
	$event[3] = new TempEvent(3, 'Acme Corp Retreat');
?>
<div id="body">
	
	<?php include('sideNav.php');?>
	<div id="details">
		<h3>Events</h3>
		<ul>
			<?php
				for($i = 0; $i < sizeof($event); $i++) {
					echo('<li><a href="index.php?type=event&id=' . $event[$i]->getId() . '">' . $event[$i]->getTitle() . '</a></li>' . "\n");
				}// end for
			?>
		</ul>
	</div>
</div><!-- body -->